<div class="bh-content">
    	<div class="bh-ly-jj-login_con bh-padT30 bh-padB30">
	 		<div class="bh-fl">
				<!--图片-->
				<div class="bh-m-ad-img"><img src="<?php echo Yii::app()->baseUrl;?>/images/login_left.jpg" width="400" height="220"></div>
			</div>
			<div class="bh-p-jj1-formright bh-fr">

				<div class="bh-login">
					<div class="bh-title">
						<h3>登录</h3>
					</div> 
					<div class="bh-con">
							<?php $form = $this->beginWidget('lib.widgets.CActiveFormAdv', array(
								'action'=>Yii::app()->controller->createUrl('login'),
								'htmlOptions'=>array(
									'class'=>'login_form',
								),
							))?>
								<p class="bh-field">
									<label>用户名：</label>
									<?php echo $form->textField($model,'username',array(
										'class'=>'bh-input-def1'
									))?>
									<?php echo $form->error($model, 'username')?>
								</p>
								<p class="bh-field">
									<label>密码：</label>
									<?php echo $form->passwordField($model,'password',array(
										'class'=>'bh-input-def1'
									))?>
									<?php echo $form->error($model, 'password')?>
								</p>
								<div class="bh-ly-jj-forgetpw bh-mtop10">
								<?php echo CHtml::submitButton('登录', array (
								  'class' => 'bh-ydchaxun-jj',
								  'name'=>'bh-ydchaxun-jj',
								))?>
                        	<a href="<?php echo Yii::app()->createUrl('misc/findpass')?>">忘记密码？</a>
                        </div>
                        <p class="bh-tips"><span class="bh-red">提示：</span>还不是商城会员？ <a href="<?php echo Yii::app()->createUrl('misc/regType')?>">免费注册</a></p>
					<?php $this->endWidget()?>
						</div>
				</div>
			</div>
			<div class="bh-space"></div>
			<div class="bh-space"></div>
		</div>
</div>